<?php
/*
Template Name: Archives Page Template
*/
?>
<?php get_header();?>
	<div id="content">
      <div class="post">
			<h2 class="pagetitle"><?php the_title(); ?></h2>
			<div class="entry">
					<h3>Recent 20 Posts</h3>
				  <ul>
					<?php wp_get_archives('type=postbypost&limit=20'); ?>
				  </ul>
				  <h3>Category</h3>
				  <ul>
					<?php wp_list_cats('optioncount=1');?>
				  </ul>
				  <h3>Monthly</h3>
				  <ul>
					<?php wp_get_archives('type=monthly&show_post_count=true'); ?>
				  </ul>
				  <?php if (function_exists('wp_tag_cloud')) {	?>
				  <h3>Tags</h3>
				  <p>
					<?php wp_tag_cloud(); ?>
				  </p>
				  <?php } ?>
			</div>
      </div>      
	</div>
  <?php get_sidebar();?>
  <?php get_footer();?>